<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork"%>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal form-validate" id="user_duty_form">
    <input type="hidden" id="userId" name="userId" value="<ww:property value='userId'/>" />
    <div class="content">
        <div class="box box-primary">
            <div class="box-body previewTable tab-content">
                <div class="operBtn lableAddBtn" >
                    <button class="btn green" type="button" onclick="getDia('userDuty','新增专业职务信息','<ww:property value="lableId"/>','<ww:property value="userId"/>');"><i class="fa fa-plus" aria-hidden="true"></i>&nbsp;新增</button>
                </div>
                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th width="110px">操作</th>
                        <th width="160px">任职机构名称</th>
                        <th width="160px">是否领导成员</th>
                        <th width="160px">成员类别</th>
                        <th width="160px">职务名称</th>
                        <th width="160px">是否领导职务</th>
                        <th width="160px">职务排序</th>
                        <th >职务变动原因综述</th>
                    </tr>
                    </thead>
                    <tbody>
                    <ww:iterator value="userInfoPageVo.userDutyVoList" id="data" status="data">
                        <tr>
                            <td class="text-center">
                                <ww:link rel="updUserSkill%{uuid}" caption="修改" target="cssDialog" href="getUserInfoDialog.action?uuid=%{uuid}&lableId=%{lableId}&userId=%{userId}" style="display:inline-block;" title="人员信息"></ww:link>
                                <ww:link caption="删除" onclick="$action.execLable(this,{url:'delUserInfoPage.action?ids=%{uuid}&lableId=%{lableId}',title:'您确认删除该条数据吗?',callback: refreshTable,callbackParam:{lableId:'%{lableId}',userId:'%{userId}'}})" style="display:inline-block;" href="javascript:;"></ww:link>
                            </td>
                            <td class="text-center"><ww:property value="joborgname"/></td>
                            <td class="text-center"><ww:property value="#dictID.getDictType('d_truefalse',isleadermem).name" /></td>
                            <td class="text-center"><ww:property value="#dictID.getDictType('d_leaderType',memtype).name"/></td>
                            <td class="text-center"><ww:property value="dutyname"/></td>
                            <td class="text-center"><ww:property value="#dictID.getDictType('d_truefalse',isleader).name"/></td>
                            <td class="text-center"><ww:property value="collectivityorder"/></td>
                            <td class="text-center"><ww:property value="jobchangereason"/></td>
                        </tr>
                    </ww:iterator>
                    </tbody>
                </table>
                <div class="operBtn">
                    <button class="btn" type="button" onclick="closeTab();"><i class="fa fa-times-circle-o" aria-hidden="true"></i>&nbsp;关闭</button>
                </div>
            </div>
        </div>
    </div>
</form>